/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.delogic.simuladorbancario.view;

import br.com.delogic.simuladorbancario.model.Cliente;
import br.com.delogic.simuladorbancario.model.ClienteFisico;
import br.com.delogic.simuladorbancario.model.ClienteJuridico;
import br.com.delogic.simuladorbancario.model.EstadoFederacao;
import br.com.delogic.simuladorbancario.model.Sucesso;
import br.com.delogic.simuladorbancario.view.controller.ClienteController;
import java.util.ArrayList;
import java.util.List;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JComponent;
import javax.swing.JOptionPane;
import javax.swing.JTextField;

/**
 *
 * @author julioVanni
 */
public class ClienteView extends javax.swing.JInternalFrame {

    private final ClienteController controller;
    /**
     * Creates new form clienteView
     */
    public ClienteView(ClienteController controller) {
        initComponents();
        this.controller = controller;
    }
    
    public void preencherCliente(Cliente cliente){
    
        //txtCepCliente.setText();
        
        cliente.setCidade(txtCidadeCliente.getText());
        cliente.setEmail(txtEmailCliente.getText());
        cliente.setLagradouro(txtLagradouroCliente.getText());
        cliente.setNomeRazao(txtNomeCliente.getText());
        cliente.setSobrenomeNomeFantasia(txtSobrenomeCliente.getText());
        cliente.setTelefone(txtTelefoneCliente.getText());
        cliente.setCep(txtCepCliente.getText());
                
        if (txtCodigoCliente.getText() != null && txtCodigoCliente.getText().isEmpty()){
           cliente.setCodigo(Integer.valueOf(txtCodigoCliente.getText()));
        }
        
        if (cliente instanceof ClienteFisico){
            ((ClienteFisico)cliente).setCpf(txtCpfCnpjCliente.getText());
        } else if (cliente instanceof ClienteJuridico){
                    ((ClienteJuridico)cliente).setCnpj(txtCpfCnpjCliente.getText());
        }
        
        if (cmbEstadoFederacaoCliente.getSelectedItem() instanceof EstadoFederacao){
            cliente.setUf((EstadoFederacao) cmbEstadoFederacaoCliente.getSelectedItem());
        }
    }

        public void exibirCliente(Cliente cliente){
            
            txtCepCliente.setText(cliente.getCep());
            txtCidadeCliente.setText(cliente.getCidade());
            txtCodigoCliente.setText(String.valueOf(cliente.getCodigo()));
            txtEmailCliente.setText(cliente.getEmail());
            txtEstadoCliente.setText(cliente.getSituacao().getDescricaoSituacaoCliente());
            txtLagradouroCliente.setText(cliente.getLagradouro());
            txtNomeCliente.setText(cliente.getNomeRazao());
            txtSobrenomeCliente.setText(cliente.getSobrenomeNomeFantasia());
            txtTelefoneCliente.setText(cliente.getTelefone());
            cmbEstadoFederacaoCliente.setSelectedItem(cliente.getUf());
            
            if (cliente instanceof ClienteFisico){
                txtCpfCnpjCliente.setText(((ClienteFisico) cliente).getCpf());
            } else if (cliente instanceof ClienteJuridico){
                txtCpfCnpjCliente.setText(((ClienteJuridico) cliente).getCnpj());
            }
           
        }
        
        public void limparFormulario(){
            
            cmbEstadoFederacaoCliente.setSelectedIndex(1);
            
            List<JTextField> campos = new ArrayList<JTextField>();
            campos.add(txtCepCliente);
            campos.add(txtCidadeCliente);
            campos.add(txtCodigoCliente);
            campos.add(txtCpfCnpjCliente);
            campos.add(txtEmailCliente);
            campos.add(txtEstadoCliente);
            campos.add(txtLagradouroCliente);
            campos.add(txtNomeCliente);
            campos.add(txtSobrenomeCliente);
            campos.add(txtTelefoneCliente);
            
            limparCampos(campos);
        
        }
        
        public void limparCampos(List<JTextField> campos){
            for (JTextField campo: campos){
                campo.setText(null);
            }
               
        }
        
        public void habilitarCampos(){
        
            cmbEstadoFederacaoCliente.setEnabled(true);
            
            List<JTextField> componentes = new ArrayList<JTextField>();
            componentes.add(txtCepCliente);
            componentes.add(txtCidadeCliente);
            componentes.add(txtCodigoCliente);
            componentes.add(txtCpfCnpjCliente);
            componentes.add(txtEmailCliente);
            componentes.add(txtEstadoCliente);
            componentes.add(txtLagradouroCliente);
            componentes.add(txtNomeCliente);
            componentes.add(txtSobrenomeCliente);
            componentes.add(txtTelefoneCliente);
            habilitarDesabilitarCampos(true, componentes);
        }
        
         public void desabilitarCampos(){
        
            cmbEstadoFederacaoCliente.setEnabled(false);
            
            List<JTextField> componentes = new ArrayList<JTextField>();
            componentes.add(txtCepCliente);
            componentes.add(txtCidadeCliente);
            componentes.add(txtCodigoCliente);
            componentes.add(txtCpfCnpjCliente);
            componentes.add(txtEmailCliente);
            componentes.add(txtEstadoCliente);
            componentes.add(txtLagradouroCliente);
            componentes.add(txtNomeCliente);
            componentes.add(txtSobrenomeCliente);
            componentes.add(txtTelefoneCliente);
            habilitarDesabilitarCampos(false, componentes);
        }
        
        public void habilitarDesabilitarCampos(boolean tipo, List<? extends JComponent> componentes){
            for (JComponent campo: componentes){
                campo.setEnabled(tipo);
                
            }
        }
        
        public void informarSucesso(Sucesso sucesso){
        
            JOptionPane.showMessageDialog(this, sucesso.getMensagem());
        }
        
    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jLabel1 = new javax.swing.JLabel();
        txtCodigoCliente = new javax.swing.JTextField();
        btnConsultarCliente = new javax.swing.JButton();
        jLabel2 = new javax.swing.JLabel();
        txtEstadoCliente = new javax.swing.JTextField();
        jSeparator1 = new javax.swing.JSeparator();
        jLabel3 = new javax.swing.JLabel();
        txtNomeCliente = new javax.swing.JTextField();
        jLabel4 = new javax.swing.JLabel();
        txtSobrenomeCliente = new javax.swing.JTextField();
        jLabel5 = new javax.swing.JLabel();
        txtLagradouroCliente = new javax.swing.JTextField();
        jLabel6 = new javax.swing.JLabel();
        txtCidadeCliente = new javax.swing.JTextField();
        jLabel7 = new javax.swing.JLabel();
        txtTelefoneCliente = new javax.swing.JTextField();
        jLabel8 = new javax.swing.JLabel();
        txtEmailCliente = new javax.swing.JTextField();
        jLabel9 = new javax.swing.JLabel();
        txtCpfCnpjCliente = new javax.swing.JTextField();
        jLabel10 = new javax.swing.JLabel();
        txtCepCliente = new javax.swing.JTextField();
        jLabel11 = new javax.swing.JLabel();
        cmbEstadoFederacaoCliente = new javax.swing.JComboBox();
        jSeparator2 = new javax.swing.JSeparator();
        btnSalvarCliente = new javax.swing.JButton();
        btnBloquearCliente = new javax.swing.JButton();
        btnCancelarCliente = new javax.swing.JButton();
        btnReativarCliente = new javax.swing.JButton();

        jLabel1.setText("Código Cliente:");

        txtCodigoCliente.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtCodigoClienteActionPerformed(evt);
            }
        });

        btnConsultarCliente.setText("Consultar");
        btnConsultarCliente.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnConsultarClienteActionPerformed(evt);
            }
        });

        jLabel2.setText("Estado Cliente:");

        txtEstadoCliente.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtEstadoClienteActionPerformed(evt);
            }
        });

        jLabel3.setText("Nome:");

        jLabel4.setText("Sobrenome:");

        jLabel5.setText("Lagradouro:");

        txtLagradouroCliente.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtLagradouroClienteActionPerformed(evt);
            }
        });

        jLabel6.setText("Cidade:");

        txtCidadeCliente.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtCidadeClienteActionPerformed(evt);
            }
        });

        jLabel7.setText("Telefone:");

        txtTelefoneCliente.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                txtTelefoneClienteActionPerformed(evt);
            }
        });

        jLabel8.setText("E-mail:");

        jLabel9.setText("CPF/CPNJ:");

        jLabel10.setText("CEP:");

        jLabel11.setText("Estado:");

        cmbEstadoFederacaoCliente.setModel(new DefaultComboBoxModel(EstadoFederacao.values()));
        cmbEstadoFederacaoCliente.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                cmbEstadoFederacaoClienteActionPerformed(evt);
            }
        });

        btnSalvarCliente.setText("Salvar");
        btnSalvarCliente.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnSalvarClienteActionPerformed(evt);
            }
        });

        btnBloquearCliente.setText("Bloquear");

        btnCancelarCliente.setText("Cancelar");

        btnReativarCliente.setText("Reativar");

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel8, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel7, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel6, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel5, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel9, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel4, javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jLabel3, javax.swing.GroupLayout.Alignment.TRAILING))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addComponent(txtSobrenomeCliente)
                                .addComponent(txtLagradouroCliente, javax.swing.GroupLayout.PREFERRED_SIZE, 199, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(txtNomeCliente, javax.swing.GroupLayout.PREFERRED_SIZE, 199, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addComponent(txtCidadeCliente, javax.swing.GroupLayout.PREFERRED_SIZE, 99, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jLabel10)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(txtCepCliente, javax.swing.GroupLayout.PREFERRED_SIZE, 67, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jLabel11)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(cmbEstadoFederacaoCliente, javax.swing.GroupLayout.PREFERRED_SIZE, 152, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addGap(0, 0, Short.MAX_VALUE))
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(txtCpfCnpjCliente, javax.swing.GroupLayout.PREFERRED_SIZE, 119, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(txtEmailCliente, javax.swing.GroupLayout.PREFERRED_SIZE, 167, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(txtTelefoneCliente, javax.swing.GroupLayout.PREFERRED_SIZE, 119, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))))
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jSeparator1))
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jLabel1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtCodigoCliente, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnConsultarCliente)
                        .addGap(32, 32, 32)
                        .addComponent(jLabel2)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(txtEstadoCliente, javax.swing.GroupLayout.PREFERRED_SIZE, 116, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                        .addGap(10, 10, 10)
                        .addComponent(btnSalvarCliente)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnBloquearCliente)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnCancelarCliente)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(btnReativarCliente))
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jSeparator2)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel1)
                    .addComponent(txtCodigoCliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(btnConsultarCliente)
                    .addComponent(jLabel2)
                    .addComponent(txtEstadoCliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel3)
                    .addComponent(txtNomeCliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel4)
                    .addComponent(txtSobrenomeCliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel5)
                    .addComponent(txtLagradouroCliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel6)
                    .addComponent(txtCidadeCliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel10)
                    .addComponent(txtCepCliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel11)
                    .addComponent(cmbEstadoFederacaoCliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel7)
                    .addComponent(txtTelefoneCliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel8)
                    .addComponent(txtEmailCliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel9)
                    .addComponent(txtCpfCnpjCliente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jSeparator2, javax.swing.GroupLayout.PREFERRED_SIZE, 10, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(btnSalvarCliente)
                    .addComponent(btnBloquearCliente)
                    .addComponent(btnCancelarCliente)
                    .addComponent(btnReativarCliente))
                .addContainerGap(33, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void txtCodigoClienteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtCodigoClienteActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_txtCodigoClienteActionPerformed

    private void txtEstadoClienteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtEstadoClienteActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_txtEstadoClienteActionPerformed

    private void txtCidadeClienteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtCidadeClienteActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_txtCidadeClienteActionPerformed

    private void txtLagradouroClienteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtLagradouroClienteActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_txtLagradouroClienteActionPerformed

    private void txtTelefoneClienteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_txtTelefoneClienteActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_txtTelefoneClienteActionPerformed

    private void btnSalvarClienteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSalvarClienteActionPerformed
        // TODO add your handling code here:
        controller.salvarCliente(this);
    }//GEN-LAST:event_btnSalvarClienteActionPerformed

    private void cmbEstadoFederacaoClienteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_cmbEstadoFederacaoClienteActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_cmbEstadoFederacaoClienteActionPerformed

    private void btnConsultarClienteActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnConsultarClienteActionPerformed
        controller.consultarCliente(Integer.valueOf(txtCodigoCliente.getText()), this);
    }//GEN-LAST:event_btnConsultarClienteActionPerformed

    
    

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnBloquearCliente;
    private javax.swing.JButton btnCancelarCliente;
    private javax.swing.JButton btnConsultarCliente;
    private javax.swing.JButton btnReativarCliente;
    private javax.swing.JButton btnSalvarCliente;
    private javax.swing.JComboBox cmbEstadoFederacaoCliente;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JSeparator jSeparator1;
    private javax.swing.JSeparator jSeparator2;
    private javax.swing.JTextField txtCepCliente;
    private javax.swing.JTextField txtCidadeCliente;
    private javax.swing.JTextField txtCodigoCliente;
    private javax.swing.JTextField txtCpfCnpjCliente;
    private javax.swing.JTextField txtEmailCliente;
    private javax.swing.JTextField txtEstadoCliente;
    private javax.swing.JTextField txtLagradouroCliente;
    private javax.swing.JTextField txtNomeCliente;
    private javax.swing.JTextField txtSobrenomeCliente;
    private javax.swing.JTextField txtTelefoneCliente;
    // End of variables declaration//GEN-END:variables
}
